package com.bardpub.weblite.ui 
{
	import flash.display.MovieClip;
	
	/**
	 * Copyright © 2010-2012, BardPub.com
	 * @fileName BaseLoadbar.as
	 * @author LittleBard
	 * @version 1.0
	 * @date 2010/5/25
	 * @descrition 
	 * @others
	 * @history
	 */
	
	public class BaseLoadbar extends MovieClip
	{
		
		private var __label:String;
		private var __percent:Number;
		
		public function BaseLoadbar() 
		{
			label = "Loading...";
			percent = 0;
		}
		
		/**
		 * 当页面大小变化时自动调用
		 */
		public function resize(stageWidth:Number, stageHeight:Number):void 
		{
			
		}
		
		/**
		 * 获取/设置载入百分比
		 */
		public function get percent():Number
		{ 
			return __percent;
		}
		public function set percent(value:Number):void 
		{
			__percent = value;
		}
		
		/**
		 * 获取/设置LABEL
		 */
		public function get label():String { return __label; }
		public function set label(value:String):void 
		{
			__label = value;
		}
		
		
		
		
		
	}

}